<template>
  <view>
    <intake-nav-bar title="邀请码" dark :fixed="true" />
    <img class="qrcode" src="https://grzq-oss.wajx.top/static/images/weixin_code.png" alt="">
    <!-- <view class="qrcode">
      <view v-for="(row, rowI) in modules" :key="rowI" style="display: flex;flex-direction: row;">
        <view v-for="(col, colI) in row" :key="colI">
          <view v-if="col.isBlack" style="width: 10px;height: 10px;background-color: black;">
          </view>
          <view v-else style="width: 10px;height: 10px;background-color: white;">
          </view>
        </view>
      </view>
    </view> -->
  </view>
</template>

<script>
  // import UQRCode from '../../../uni_modules/Sansnn-uQRCode/js_sdk/uqrcode/uqrcode.js';

  export default {
    data() {
      return {
        modules: []
      }
    },
    onLoad() {
      // const qr = new UQRCode();
      // qr.data = 'http://www.baidu.com';
      // qr.make();
      // this.modules = qr.modules;
    },
    methods: {

    }
  }
</script>
<style lang="scss">
  .qrcode{
    zoom: 70%;
    width: 616rpx;
    height: 616rpx;
    margin: 200rpx 230rpx;
  }
</style>